forvalues year=2012/2017 {
	clear
	insheet using "${raw_data}/MPUPD-PhysOtherSupplier/Medicare_Provider_Util_Payment_PUF_CY`year'/Medicare_Provider_Util_Payment_PUF_CY`year'.txt", tab clear
	
	lab var npi     							 "National Provider Identifier"       
	lab var nppes_provider_last_org_name 		 "Last Name/Organization Name of the Provider"
	lab var nppes_provider_first_name 			 "First Name of the Provider"
	lab var nppes_provider_mi					 "Middle Initial of the Provider"
	lab var nppes_credentials 					 "Credentials of the Provider"
	lab var nppes_provider_gender 				 "Gender of the Provider"
	lab var nppes_entity_code 					 "Entity Type of the Provider"
	lab var nppes_provider_street1 				 "Street Address 1 of the Provider"
	lab var nppes_provider_street2 				 "Street Address 2 of the Provider"
	lab var nppes_provider_city 				 "City of the Provider"
	lab var nppes_provider_zip 					 "Zip Code of the Provider"
	lab var nppes_provider_state 				 "State Code of the Provider"
	lab var nppes_provider_country 				 "Country Code of the Provider"
	lab var provider_type	 					 "Provider Type of the Provider"
	lab var medicare_participation_indicator 	 "Medicare Participation Indicator"
	lab var place_of_service 					 "Place of Service"
	lab var hcpcs_code       					 "HCPCS Code"
	lab var hcpcs_description 					 "HCPCS Description"
	lab var hcpcs_drug_indicator				 "Identifies HCPCS As Drug Included in the ASP Drug List"
	lab var line_srvc_cnt    					 "Number of Services"
	lab var bene_unique_cnt  					 "Number of Medicare Beneficiaries"
	lab var bene_day_srvc_cnt 					 "Number of Distinct Medicare Beneficiary/Per Day Services"
	lab var average_medicare_allowed_amt 		 "Average Medicare Allowed Amount"
	lab var average_submitted_chrg_amt 			 "Average Submitted Charge Amount"
	lab var average_medicare_payment_amt 		 "Average Medicare Payment Amount"
	
	gen year = `year'
	lab var year "Year"
	
	drop if npi == 1 
	keep if nppes_entity_code == "I"

	keep npi year provider_type medicare_participation_indicator place_of_service hcpcs_code line_srvc_cnt bene_unique_cnt bene_day_srvc_cnt average*
	
	gisid npi hcpcs_code place_of_service
	
	save "${intermediate_data}/MPUPD-PhysOtherSupplier/`year'/Medicare_Provider_Util_Payment_PUF_CY`year'.dta", replace

}
